<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
		<title>table - 订单</title>
		<link rel="icon" href="../../../favicon.ico" type="image/ico">
		<link href="../../../css/bootstrap.min.css" rel="stylesheet">
		<link href="../../../css/materialdesignicons.min.css" rel="stylesheet">
		<link href="../../../css/animate.css" rel="stylesheet">
		<link href="../../../css/style.min.css" rel="stylesheet">
		<link rel="stylesheet" href="../../../css/element-ui.css">
	</head>

	<body>
		<div class="container-fluid p-t-15">

			<div class="row">
				<div class="col-lg-12">
					<div class="card">
						<div class="card-body">

							<div id="toolbar" class="toolbar-btn-action">
								<button id="btn_add" type="button" class="btn btn-primary m-r-5">
									<span class="mdi mdi-plus" aria-hidden="true"></span>新增
								</button>
							</div>
							<div id="app">
								<el-table :data="tableData" style="width: 100%">
									<el-table-column prop="orderId" label="id" width="80">
									</el-table-column>
									<el-table-column prop="orderName" label="订单名称" width="180">
									</el-table-column>
									<el-table-column prop="orderPrice" label="订单金额" width="180">
									</el-table-column>
									<el-table-column prop="orderDetail" label="订单明细" width="180">
									</el-table-column>
									<el-table-column prop="orderProject" label="订单项目">
									</el-table-column>
									<el-table-column prop="updateTime" label="更新时间">
									</el-table-column>
									<el-table-column align="right">
										<template slot-scope="scope">
											<el-button size="mini" @click="handleEdit(scope.$index, scope.row)">编辑</el-button>
											<el-button size="mini" type="danger" @click="handleDelete(scope.$index, scope.row)">删除</el-button>
										</template>
									</el-table-column>
								</el-table>
							</div>
						</div>
					</div>
				</div>

			</div>

		</div>

		<script type="text/javascript" src="../../../js/jquery.min.js"></script>

		<!-- import Vue框架 -->
		<script src="../../../js/vue.js"></script>
		<script src="../../../js/element-ui.js"></script>
		<script src="../../../js/ordermain.js"></script>

		<script type="application/javascript">
			$('#btn_add').click(function() {
				location.href = "order_add.html"
			})
		</script>

	</body>
</html>
